#ifndef __BSP_MP3PLAY_H
#define __BSP_MP3PLAY_H

#include "main.h"

int mp3play(char* filename);
void mp3_play_loop(void);
void mp3pause(void);
void mp3resume(void);
void mp3stop(void);
uint8_t mp3state(void);

int mp3get_total_time(char *p);
int mp3get_play_time(char *p);
int mp3get_play_progress(void);

int load_mp3_file_list(void);
void get_mp3_file_path(char *name,uint16_t num);
void get_mp3_file_name(char *name,uint16_t num);
void bsp_mp3_key_handle(uint8_t keyValue, uint8_t *cur_out_state);

uint16_t get_mp3_file_position(void);
void tft_digital_show(char *name);
void show_play_volume(uint8_t volume);
void show_mp3_name(char *name);
void show_mp3play_state(uint8_t state);
uint8_t GetLrc_Music(const char *musiclrc);
void show_play_lrc(void);
void test(void);
#endif

